import React from 'react'

export default function Counter(props) {
  return (
    <div>
        <h1>当前计数为：{props.counter}</h1>
    </div>
  )
}
